package com.yfp.device.mapper;

import com.yfp.device.domain.PositionTypeExample;
import com.yfp.device.domain.PositionType;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface PositionTypeMapper {
    long countByExample(PositionTypeExample example);

    int deleteByExample(PositionTypeExample example);

    int deleteByPrimaryKey(String positionTypeId);

    int insert(PositionType record);

    int insertSelective(PositionType record);

    List<PositionType> selectByExample(PositionTypeExample example);

    PositionType selectByPrimaryKey(String positionTypeId);

    int updateByExampleSelective(@Param("record") PositionType record, @Param("example") PositionTypeExample example);

    int updateByExample(@Param("record") PositionType record, @Param("example") PositionTypeExample example);

    int updateByPrimaryKeySelective(PositionType record);

    int updateByPrimaryKey(PositionType record);

    PositionType selectByMachineSn(@Param("machineSn") String machineSn);
}